From 3540e6ca5756daa6b7b4666ba9aad59191bc746c Mon Sep 17 00:00:00 2001 From: =?utf8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?utf8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Wed, 2 Apr 2014 17:42:31 +0000 Subject: [PATCH] W32: Give unfocused selected list items special background, like Explorer does https://bugzilla.gnome.org/show_bug.cgi?id=727244 --- gtk/resources/theme/gtk-win32.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gtk/resources/theme/gtk-win32.css b/gtk/resources/theme/gtk-win32.css index ce76a2ba02..f0fd0b6a58 100644 --- a/gtk/resources/theme/gtk-win32.css +++ b/gtk/resources/theme/gtk-win32.css @@ -328,10 +328,14 @@ } .list-row:selected { + background-color: transparent; /* Override *:selected {} blanket style, keeping the background - bright and the text - dark */ - background-color: transparent; color: @text_color; + background-image: -gtk-win32-theme-part(listview, 6 13); +} + +.list-row:selected:focus { background-image: -gtk-win32-theme-part(listview, 6 11); } -- 2.30.2